import request from '@/utils/request'

// 查询fo_discount_house_bookingorder列表
export function listDiscount_house_bookingorder(query) {
  return request({
    url: '/yipaiju/discount_house_bookingorder/list',
    method: 'get',
    params: query
  })
}

// 查询fo_discount_house_bookingorder详细
export function getDiscount_house_bookingorder(id) {
  return request({
    url: '/yipaiju/discount_house_bookingorder/' + id,
    method: 'get'
  })
}

// 新增fo_discount_house_bookingorder
export function addDiscount_house_bookingorder(data) {
  return request({
    url: '/yipaiju/discount_house_bookingorder',
    method: 'post',
    data: data
  })
}

// 修改fo_discount_house_bookingorder
export function updateDiscount_house_bookingorder(data) {
  return request({
    url: '/yipaiju/discount_house_bookingorder',
    method: 'put',
    data: data
  })
}

// 删除fo_discount_house_bookingorder
export function delDiscount_house_bookingorder(id) {
  return request({
    url: '/yipaiju/discount_house_bookingorder/' + id,
    method: 'delete'
  })
}
